import Request from '../index'

interface AgreeData {
  operate: string,
  noticeId: string,
  u_info?: string
}
export function agreeFriendNotice(data: AgreeData) {
  return Request.post({
    url: `/server/friend/notice/${data.operate}`,
    headers: {
      'content-type': 'multipart/form-data'
    },
    data: data
  })
}

// export function rejectFriendNotice(id: string) {
//   return Request.post({
//     url: '/friend/notice/reject',
//     headers: {
//       'content-type': 'multipart/form-data'
//     },
//     data: id
//   })
// }